package net.csdn.business.common.domain.request.user;

import lombok.Data;
import net.csdn.business.common.domain.validation.groups.System;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author likun
 * @date 2023/3/27 15:15
 */
@Data
public class UserFollowEventRequestDTO implements Serializable {
    /**
     * 当前请求的用户名
     */
    private String loginUsername;

    @NotBlank(message = "loginUid 不能为空", groups = {System.class})
    @Length(min = 24, max = 24, message = "loginUid 格式不正确", groups = {System.class})
    private String loginUid;
    @NotBlank(message = "start 不能为空")
    private String start;
    @NotBlank(message = "end 不能为空")
    private String end;
    private Long page = 0L;
    private Long pageSize = 20L;
    /** 此字段作为用户信息是否返回 **/
    private Boolean isOpenApi=false;
}